@layout("/common/_container.html",{js:["/assets/storage/storagePutSingle/storagePutSingle_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="storagePutSingleForm" lay-filter="storagePutSingleForm" class="layui-form layui-form-pane" style="max-width: 620px;margin: 10px auto;">
                <input name="id" type="hidden"/>
                <input name="goodsId" type="hidden" value="${basicGoods.id}"/>
                <input name="singleRebubbles" type="hidden" value="${basicGoods.goodsHeavybubble}"/>
                <input name="singlePacking" type="hidden" value="${basicGoods.goodsPacking}"/>
                <input name="singleLargeclass" type="hidden" value="${basicGoods.goodsBigtype}"/>
                <input name="singleGoodstype" type="hidden" value="${basicGoods.goodsType}"/>
                <input name="singlePutcondition" type="hidden" value="${basicGoods.goodsCondition}"/>
                <input name="singlePiecenum" type="hidden" value="1"/>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 1px;">
			    	<legend>增加入库单明细</legend>
			  	</fieldset> 
                <div class="layui-form-item">
                    <label class="layui-form-label">入库单编号<span style="color: red;">*</span></label>
                    <div class="layui-input-inline">
                        <input id="storageNumber" name="storageNumber" value="${storageNumber}" placeholder="请输入入库单编号" type="text" class="layui-input" lay-verify="required" required readonly="readonly" style="background: #E7EAED"/>
                    </div>
                    <label class="layui-form-label">库位编号<span style="color: red;">*</span></label>
                    <div class="layui-input-inline">
                        <input id="positionNumber" name="positionNumber" placeholder="请输入库位编号" type="text" class="layui-input" lay-verify="required" required readonly="readonly" style="background: #E7EAED"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">商品名称<span style="color: red;">*</span></label>
                    <div class="layui-input-inline">
                        <input id="goodsname" name="goodsname" value="${basicGoods.goodsName}" placeholder="请输入商品名称" type="text" class="layui-input" lay-verify="required" required readonly="readonly" style="background: #E7EAED"/>
                    </div>
                    <label class="layui-form-label">商品编号<span style="color: red;">*</span></label>
                    <div class="layui-input-inline">
                        <input id="goodsNumber" name="goodsNumber" value="${basicGoods.goodsNumber}" placeholder="请输入商品编号" type="text" class="layui-input" lay-verify="required" required readonly="readonly" style="background: #E7EAED"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">应入大包数<span style="color: red;">*</span></label>
                    <div class="layui-input-inline">
                        <input id="putBalenum" name="putBalenum" placeholder="请输入应入大包数" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                    <label class="layui-form-label">应入数量<span style="color: red;">*</span></label>
                    <div class="layui-input-inline">
                        <input id="putNum" name="putNum" placeholder="请输入应入数量" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">应入重量<span style="color: red;">*</span></label>
                    <div class="layui-input-inline">
                        <input id="goodsWeight" name="goodsWeight" value="${basicGoods.goodsWeight}" type="hidden"/>
                        <input id="putWeight" name="putWeight" placeholder="请输入应入重量" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                    <label class="layui-form-label">应入体积<span style="color: red;">*</span></label>
                    <div class="layui-input-inline">
                        <input id="goodsVolume" name="goodsVolume" value="${basicGoods.goodsVolume}" type="hidden"/>
                        <input id="detailedPutvolume" name="detailedPutvolume" placeholder="请输入应入体积" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">单价</label>
                    <div class="layui-input-inline">
                        <input id="unitprice" name="unitprice" value="${basicGoods.goodsCharging}" placeholder="请输入单价" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                    <label class="layui-form-label">金额</label>
                    <div class="layui-input-inline">
                        <input id="singleMoney" name="singleMoney" placeholder="请输入金额" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">批号<span style="color: red;">*</span></label>
                    <div class="layui-input-inline">
                        <input id="singleBatchnumber" name="singleBatchnumber" placeholder="请输入批号" type="text" class="layui-input" lay-verify="required" required readonly="readonly" style="background: #E7EAED"/>
                    </div>
                    <label class="layui-form-label">生产日期<span style="color: red;">*</span></label>
                    <div class="layui-input-inline">
                        <input id="singleDateofmanufacture" name="singleDateofmanufacture" placeholder="请输入生产日期" type="text" class="layui-input" lay-verify="required" required readonly="readonly" style="background: #E7EAED"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">入库批次</label>
                    <div class="layui-input-inline">
                        <input id="recommend" name="recommend" placeholder="请输入入库批次" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                    <label class="layui-form-label">工厂号</label>
                    <div class="layui-input-inline">
                        <input id="factory" name="factory" placeholder="请输入工厂号" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}